#ifndef _DISTRICT_H
#define _DISTRICT_H

#include <iostream>
#include "geometry.h"

// =============== LAND TRIANGLE ================ //
class LandTriangle : public Triangle
{
	public:
		LandTriangle(const Vector&,const Vector&,const Vector&);
		void Subdivide();
};

// ================= LAND QUAD ================== //
class LandQuad : public Quadrangle
{
	public:
		LandQuad(const Vector& a,const Vector& b,const Vector& c,const Vector& d) : Quadrangle(a, b, c, d) {}
		void Subdivide();
		void DiviseReg();
		void DiviseIrreg();
		void DiviseTrois();
		void DiviseDeux();
		void Show(Quadrangle q, bool district);
		void PrintNbQuad() { std::cout << "Nombre de quad : " << nbQuad << std::endl; }

	private:
		static int nbQuad;
};

#endif // _DISTRICT_H
